/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package commonpackage;

import java.util.Vector;


/**
 *
 * @author chuda
 */
public class Tag {
    private String tag;
    private Vector pois;
    public Tag(){
        
    }
    public Tag(String tag){
        this.tag = tag;
    }

    /**
     * @return the tag
     */
    public String getTag() {
        return tag;
    }

    /**
     * @param tag the tag to set
     */
    public void setTag(String tag) {
        this.tag = tag;
    }

    /**
     * @return the pois
     */
    public Vector getPois() {
        return pois;
    }

    public void addPOI(POI poi) {
        if(this.pois == null) {
            pois = new Vector();
        }
        pois.addElement(poi);
        this.setPois(pois);
    }
    /**
     * @param pois the pois to set
     */
    public void setPois(Vector pois) {
        this.pois = pois;
    }

}
